

package com.hazelcast.mock;

public class MockUtil {

    public static void closeMocks(AutoCloseable closeable) {
        try {
            closeable.close();
        } catch (Exception ex) {
            throw new IllegalStateException("Failed to close Mockito mocks", ex);
        }
    }
}
